Skip to main content

SortListAscendingNumeric

Type

statement

Summary

Sorts Target in ascending numeric order.

Syntax

sort <Target> in ascending numeric order

Description

Numeric sort is performed by comparing numeric elements by cardinality.

note

It is an error if Target contains any elements of non-numeric type.

Parameters

NameTypeDescription

Target

An expression that evaluates to a list of numbers.

Examples

    variable tTestList as List
put [3,4,5,1,2] into tTestList

sort tTestList in ascending numeric order -- tTestList is [1,2,3,4,5]
Thank you for your feedback!

Was this page helpful?